import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';

const formRouter: AppRouteModule = {
  path: '/form-demo',
  name: 'FormDemo',
  component: LAYOUT,
  redirect: '/table-demo/basic',
  meta: {
    title: 'Form组件',
    icon: 'ion:layers-outline',
    orderNo: 1,
  },
  children: [
    {
      path: 'basicForm',
      name: 'BasicForm',
      component: () => import('/@/views/form/BasicForm.vue'),
      meta: {
        title: '表单组件',
      },
    },
  ],
};

export default formRouter;
